MailPoet\Services\AuthorizedSenderDomainController A

Total Complexity 52
Dependencies 8
Dependents 11
Total lines 308
Lines of code 172
Logical lines of code 94
Comment lines 54
Methods 28
Properties 7

Methods 28

Method Rating Maintainability Complexity Lines of code
verifyAuthorizedSenderDomain()
S
54 5 20
createAuthorizedSenderDomain()
S
59 4 14
getAllRawData()
S
63 4 11
isNewUser()
S
63 3 11
getSenderDomainsGroupedByStatus()
S
63 3 11
getAllRecords()
S
71 2 6
getFullyOrPartiallyVerifiedSenderDomains()
S
74 2 4
reloadCache()
S
69 2 6
getDomainRecords()
S
69 2 7
extractDomains()
S
69 2 7
getFullyVerifiedSenderDomains()
S
75 2 4
getUnverifiedSenderDomains()
S
75 2 4
getPartiallyVerifiedSenderDomains()
S
75 2 4
isAuthorizedDomainRequiredForNewCampaigns()
S
78 2 3
isAuthorizedDomainRequiredForExistingCampaigns()
S
78 2 3
getContextData()
S
63 1 11
isSmallSender()
S
80 1 3
isBigSender()
S
80 1 3
__construct()
S
69 1 7
domainExtractor()
S
79 1 3
isCacheAvailable()
S
80 1 3
returnAllDomains()
S
76 1 4
getSenderDomainsByStatus()
S
72 1 5
getRewrittenEmailAddress()
S
78 1 3
getVerifiedSenderDomainsIgnoringCache()
S
77 1 4
getVerifiedSenderDomains()
S
80 1 3
getAllSenderDomains()
S
80 1 3
getContextDataForAutomations()
S
73 1 5